//
//  SettingItemsVC.m
//  sweetbox
//
//  Created by apollo on 15/9/17.
//  Copyright (c) 2015年 proj-m. All rights reserved.
//

#import "SettingItemsVC.h"

@interface SettingItemsVC ()

@end

@implementation SettingItemsVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    // Uncomment the following line to preserve selection between presentations.
    // self.clearsSelectionOnViewWillAppear = NO;
    
    // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
    // self.navigationItem.rightBarButtonItem = self.editButtonItem;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

#pragma mark - Table view data source




#pragma mark - UITableViewDelegate
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    if (indexPath.section == 1 && indexPath.row == 0) {
        UIViewController *vc  =(UIViewController *) [[UIStoryboard storyboardWithName:@"setting" bundle:nil] instantiateViewControllerWithIdentifier:@"about"];
        UINavigationController *navVC  =  (UINavigationController *)self.parentViewController;
        [navVC pushViewController:vc animated:YES];
    }   
}

@end
